/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package modele;

import exceptions.EmployeNotFoundException;
import exceptions.LoginException;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

/**
 *
 * @author julientrebern
 */
public interface InterfaceEmploye {
    
    public Employe getEmploye(String username) throws SQLException, EmployeNotFoundException;
    
    public void createEmploye(Employe employe) throws SQLException;
    
    public List<Employe> getAllEmployes() throws SQLException;
    
    public void deleteEmploye(String username) throws SQLException;
    
    public void updateEmploye(Employe employe) throws SQLException;
    
    public String login(String username, String password) throws SQLException, LoginException;
    
    public void connect(Connection conn) throws SQLException;
    
}
